// space-buccaneer
//
// main.cpp


// includes
#include "engine.h"
#include "introstate.h"

int main(int argc, char *argv[])
{
    CGameEngine game;

    // start enginge
    game.Init("space-buccaneer");

    /* load the intro */
    game.ChangeState(CIntroState::Instance());

    /* main loop*/
    while(game.Running())
    {
        game.HandleEvents();
        game.Update();
        game.Draw();
    }

    /* cleanup the engine */
    game.Cleanup();

    return 0;
} /* end main function*/
